package cn.smbms.controller;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.AbstractController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


@Controller
public class IndexController{
    private Logger logger = Logger.getLogger(IndexController.class);

    @RequestMapping("/welcome")
    public String welcome(){
        logger.debug("完成上机二");
        return "index";
    }
}
